package example3;

public class Main {

	public static void main(String[] args) {
		Rectangle  recta = new   Rectangle(3,4);
	    Rectangle  rectb = new  Rectangle(5,6);
	    rectb=recta;
	    System.out.println("rect a:"+ recta.area());
	    System.out.println("rect b:"+ rectb.area());


	}

}
